main(){

  /**
   * 单引号
   * 双引号
   *
   *三个引号
   */

  final name = "cc";
  var age =11;
  var message03 ='''
  waterkid1231231312312
  ''';

  var height = 1.88;
  // $直接跟一个变量可以省略大括号 ，，， 如果是表达式不能省略
  var hehe = "$name age:${age>1} height:$height";
  print(hehe);


  /**
   * dart中集合
   * List
   * Set ： 不可重复，，无序
   * Map
   */


  List<String> names = ["cc","ww","dd","cc"];
  print(names);


 // 对List进行去重
  Set<int> numbers = {1,2,3,1};
  print(numbers);

  List<String> newNames = [];
  for (var name in names) {
    if(!newNames.contains(name)){
      newNames.add(name);
    }
  }


// set去重
  List<String> newNames02 = List.from(Set.from(names));

  print(newNames02);


  Map<String,dynamic> info = {
    "name":"cc",
    "age":11,
  };

print(info.keys);


}